<template lang="pug">
  kalix-dialog.user-add(title='查看' bizKey="maintainResult" ref="kalixBizDialog" v-bind:formModel.sync="formModel" isView)
    div.el-form(slot="dialogFormSlot")
      el-form-item(label="考试名称" prop="examName" v-bind:label-width="labelWidth")
        el-input(v-model="formModel.examName" readonly)
      el-form-item(label="考试科目" prop="subject" v-bind:label-width="labelWidth")
        el-input(v-model="formModel.subject" readonly)
      el-form-item(label="考生名" prop="examineeName" v-bind:label-width="labelWidth")
        el-input(v-model="formModel.examineeName" readonly)
      el-form-item(label="准考证号" prop="examCardNumber" v-bind:label-width="labelWidth")
        el-input(v-model="formModel.examCardNumber" readonly)
      el-form-item(label="身份证号" prop="idCards" v-bind:label-width="labelWidth")
        el-input(v-model="formModel.idCards" readonly)
      el-form-item(label="考试成绩" prop="score" v-bind:label-width="labelWidth")
        el-input(v-model="formModel.score" readonly)
</template>

<script type="text/ecmascript-6">
  import FormModel from './resultModel'

  export default {
    name: 'MaintainResultView',
    data() {
      return {
        formModel: Object.assign({}, FormModel),
        labelWidth: '180px'
      }
    }
  }
</script>

<style scoped lang="stylus" type="text/stylus">
</style>
